package cn.yj.core.business.service.iservice;

import cn.yj.annotation.pagehelper.page.Page;
import cn.yj.cgs.dba.entity.Message;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * @author 永健
 * @since 2021-06-16 11:37
 */
public interface IMessageService extends IService<Message> {

    boolean read(String userCode,List<Integer> messageId);

    long countNoRead(String userCode);


    void notice(Message message);

    Page<Message> pageList(Map<String, Object> params, Page<Message> page);
}
